from PyQt5.QtCore import QObject,pyqtProperty,pyqtSlot,pyqtSignal
class QuickListItemBase(QObject):
    def __init__(self,parent=None):
        super().__init__(parent)
        self._isChecked=False
        self._isSelected=False
        self._isAlternate=False
    isCheckedChanged=pyqtSignal()
    @pyqtProperty(bool, notify=isCheckedChanged)
    def isChecked(self):
        return self._isChecked
    @isChecked.setter
    def isChecked(self,v):
        self._isChecked=v

    isSelectedChanged=pyqtSignal()
    @pyqtProperty(bool, notify=isSelectedChanged)
    def isSelected(self):
        return self._isSelected
    @isSelected.setter
    def isSelected(self,v):
        self._isSelected=v

    isAlternateChanged=pyqtSignal()
    @pyqtProperty(bool, notify=isAlternateChanged)
    def isAlternate(self):
        return self._isAlternate
    @isAlternate.setter
    def isAlternate(self,v):
        self._isAlternate=v




